package com.twu.biblioteca.controller;

import com.twu.biblioteca.library.Library;
import com.twu.biblioteca.library.MovieLibrary;
import com.twu.biblioteca.Security;

import java.io.PrintStream;

/**
 * Created with IntelliJ IDEA.
 * User: Thoughtworker
 * Date: 8/25/13
 * Time: 10:17 PM
 * To change this template use File | Settings | File Templates.
 */
public class MovieController extends Controller {

    public MovieController(Security security, MovieLibrary library, PrintStream printStream) {
        this.security = security;
        this.library = library;
        this.printStream = printStream;
    }

    public void showMovies() {
        ((MovieLibrary)library).showHeader();
        ((MovieLibrary)library).showMovies();
    }
}
